package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.pojos.WmMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 秉性哥
 * @createTime 2022/10/18 17:10
 * @description
 */
public interface WmMaterialMapper  extends BaseMapper<WmMaterial> {
    void saveRelationsByContent(@Param("materials") List<String> materialIds, @Param("id") Integer id, @Param("type") Short type);
}
